package com.platform.modules.chat.service.impl;

import com.platform.common.web.service.impl.BaseServiceImpl;
import com.platform.modules.chat.dao.ChatMsgTemplateDao;
import com.platform.modules.chat.domain.ChatMsgTemplate;
import com.platform.modules.chat.service.ChatMsgTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("chatMsgTemplateService")
public class ChatMsgTemplateServiceImpl extends BaseServiceImpl<ChatMsgTemplate> implements ChatMsgTemplateService {
    @Resource
    private ChatMsgTemplateDao chatMsgTemplateDao;

    @Autowired
    public void setBaseDao() {
        super.setBaseDao(chatMsgTemplateDao);
    }

    @Override
    public List<ChatMsgTemplate> queryList(ChatMsgTemplate t) {
        List<ChatMsgTemplate> dataList = chatMsgTemplateDao.queryList(t);
        return dataList;
    }
}
